package cn.kgc;
import javax.print.attribute.standard.PrinterName;
import java.util.Scanner;
public class text {
    //打印企鹅的相关信息
    public static void main(String[] args){
        Maintext maintest=new Maintext();
        Pets pt=maintest.print();
        Pets pets=maintest.printtest(pt.getName(),pt.getHealth());
    pets.setSex(pt.getpType());
    pets.setSex(pt.getSex());
    System.out.println("宠物独白");
     System.out.println("我的名字叫:"+pt.getName()+
             "健康值:"+pt.getHealth()+
             "和主人的亲密度:"+pt.getLikeNo()+"我的性别:"
             +pt.getSex());


    }
}
